#include<iostream>
using namespace std;
int main(){
	int a,b;
	char flag;
	scanf("%d%d %c",&a,&b,&flag);
	switch(flag){
		case '+':
			printf("%d\n",a+b);
			break;
		case '-':
			printf("%d\n",a-b);
			break;
		case '*':
			printf("%d\n",a*b);
			break;
		case '/':
			printf("%d\n",a/b);
			break;
		case '%':
			printf("%d\n",a%b);
			break;
	}
	return 0;
}
